#类的基本创建
""" class Washer():
  def wash(self):
    print("我会洗衣服!")
    print(self)
haier1=Washer()
haier1.wash()
haier2=Washer()
print(haier2) """
class Washer():
  def printInfo(self):
    print(f"haier1洗衣机的宽度是{self.width}")
    print(f"haier1洗衣机的高度是{self.height}")

harer1=Washer()
harer1.width=500
harer1.height=800
harer1.printInfo()
